The Source Control Integration API > The source control integration API optional functions > SCS_GetNoteCount()

 

SCS_GetNoteCount()

Description

Returns the number of Design Note keys for the specified remote file or folder path. If unsupported by the source control system, Dreamweaver gets this information from the companion Design Note (.mno) file.

Arguments

connectionData, remotePath

connectionData is a pointer to the agent's data that was passed into Dreamweaver during the Connect() call.
remotePath is the fully qualified remote file or folder path that the DLL checks for the number of Design Notes attached to it.

Returns

An integer representing the number of Design Notes associated with this file. If the function returns < 0, Dreamweaver considers it an error and tries to retrieve the error message from the DLL, if supported.